#ifndef rawQL_arch_info_h
#define rawQL_arch_info_h

#include "stuff/arch.h"


struct input_file {
    char *name;
    struct arch_flag arch_flag;
    struct fat_header *fat_header;
    struct fat_arch *fat_arches;
    bool is_thin;
    off_t size;
    char *addr;

};

/* Thin files from the input files to operate on */
struct thin_file {
    char *name;
    char *addr;
    struct fat_arch fat_arch;
    bool from_fat;
    bool extract;
    bool remove;
    bool replace;
};


void process_input_file(int fd, struct input_file *input, struct thin_file *thin);


#endif
